/**
 * Created with IntelliJ IDEA.
 * User: skyline{http://my.oschina.net/skyline520}
 * Date: 12-11-25
 * Time: 下午1:15
 * To change this template use File | Settings | File Templates.
 */
Ext.define('Airways.view.system.user.PopUpWindow',{
    extend:'Ext.window.Window',
    alias:'widget.userPopUpWindow',
    title:'添加用户',
    iconCls:'add',
    height:350,
    width:600,
    constrain:true,
    closeAction:'hide',
    modal:true,
    buttonAlign:'center',
    buttons:[{
        action:'save',
        text:'保存',
        iconCls:'savebutton'
    },{
        action:'cancel',
        text:'取消',
        iconCls:'cancelbutton'
    }],
    initComponent:function(){
        this.items = this.buildItems();
        this.callParent(arguments);
    },
    buildItems:function(){
        var popUpPanel = Ext.create('Airways.view.system.user.PopUpPanel');
        return [popUpPanel];
    }
});
